package com.flute.haflute.monitor;

import java.io.Serializable;
import java.text.SimpleDateFormat;

public class StatusMessage implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public StatusMessage(){
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 
		this.reportDate_JobReport = sdf.format(new java.util.Date()); 
		
	}
	
	public StatusMessage(String topic,String content){
		this();
		this.topic = topic;
		this.content = content;
	}
	/** 状态的主题 */
	public String topic;
	/** 状态的内容 */
	public String content;
	/** 附加说明 */
	public String explanation;
	/** 保留字段 */
	public String reserved;
	
	public String reportDate;
	
	public boolean isFinish = false;
	
	public String reportDate_JobReport;
	
	
}
